package top.healthylife.gateway.platform.eye.dto.zengzhifuwu.EyeReqOpenMatchDto.req;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import top.healthylife.gateway.dto.annotation.ApiField;
import top.healthylife.gateway.dto.request.req.ApiReqDto;

import javax.validation.constraints.NotNull;

/**
* @author: GenUtil
* @date: 2020-12-14 23:07:37
*/
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("验证企业[633]")
public class EyeReqOpenMatchDto extends ApiReqDto {

    @ApiField(value = "公司名", necessity = true)
    @NotNull(message = "公司名")
    @JsonProperty("name")
    @ApiModelProperty(name = "公司名", example = "北京百度网讯科技有限公司")
    private String name;

    @ApiField(value = "注册号/组织机构代码/统一社会信用代码", necessity = true)
    @NotNull(message = "注册号/组织机构代码/统一社会信用代码")
    @JsonProperty("keyword")
    @ApiModelProperty(name = "注册号/组织机构代码/统一社会信用代码", example = "91110000802100433B")
    private String keyword;

}
